package com.icode.dao;

import com.icode.core.model.house.*;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-3-2
 * Time: 下午2:58
 * To change this template use File | Settings | File Templates.
 */
public interface HomePageDao extends EntityDao {

    HomeIntroImage findHomeIntroImageByUploadImage(UploadImage uploadImage);

    HomeInfoImage findHomeInfoImageByUploadImage(UploadImage uploadImage);

    HomePartnerImage findHomePartnersByUploadImage(UploadImage uploadImage);

    void deleteObject(Object object);

    List<HomeIntroImage> findHomeIntroImageByHomePageId(String id);

    List<HomeInfoImage> findHomeInfoImageByHomePageId(String id);

    List<HomePartnerImage> findHomePartnersImageByHomePageId(String id);

    void deleteIntroImages(List<HomeIntroImage> homeIntroImages);

    void deleteInfoImages(List<HomeInfoImage> homeInfoImages);

    void deletePartnersImages(List<HomePartnerImage> homePartnerImages);

    HomePage findHomePage();
}
